<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		var arr=[1,2,3,4,5,6];
		function Push(arr,num1){
			arr[arr.length]=num1;
			console.log(arr);
		}
		Push(arr,'haha');
	</script>
</head>
<body>
	
</body>
</html>